]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Don't call beginItemDrag() for XDND
authorCosimo Cecchi <cosimoc@gnome.org>
Sun, 17 Feb 2013 19:40:52 +0000 (14:40 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 18 Feb 2013 19:54:53 +0000 (14:54 -0500)
The dragged actors are not overview items.

https://bugzilla.gnome.org/show_bug.cgi?id=686984

js/ui/layout.js
js/ui/panel.js

index f794b1079a289b527d2b6978f6e218466a75344c..062cbdd7ae08b528816965085b1ebf049164b62e 100644 (file)
@@ -1076,7 +1076,6 @@ const HotCorner = new Lang.Class({
         if (!Main.overview.visible && !Main.overview.animationInProgress) {
             this.rippleAnimation();
             Main.overview.showTemporarily();
-            Main.overview.beginItemDrag(actor);
         }
 
         return DND.DragMotionResult.CONTINUE;
index 7f023ca8409b379ccf2b8186adfbd2d4f0448d9e..3bcc4ba1a5a5242aea64bf0aa5ca30d22bffbc56 100644 (file)
@@ -739,7 +739,6 @@ const ActivitiesButton = new Lang.Class({
         if (pickedActor == this.actor) {
             if (!Main.overview.visible && !Main.overview.animationInProgress) {
                 Main.overview.showTemporarily();
-                Main.overview.beginItemDrag(actor);
             }
         }